﻿@model PluginModel
   
@(await Html.LocalizedEditor<PluginModel, PluginLocalizedModel>("plugin-localized",
    @<div class="form-horizontal">
        <div class="form-body">
            <div class="form-group">
                <admin-label asp-for="@Model.Locales[item].FriendlyName" />
                <div class="col-md-9 col-sm-9">
                    <admin-input asp-for="@Model.Locales[item].FriendlyName" />
                    <span asp-validation-for="@Model.Locales[item].FriendlyName"></span>
                </div>
            </div>
            <input asp-for="@Model.Locales[item].LanguageId" type="hidden" />
        </div>
    </div>
        ,
    @<div class="form-horizontal">
        <div class="form-body">
            <div class="form-group">
                <admin-label asp-for="FriendlyName" />
                <div class="col-md-9 col-sm-9">
                    <admin-input asp-for="FriendlyName" />
                    <span asp-validation-for="FriendlyName"></span>
                </div>
            </div>
        </div>
    </div>
))
<div class="form-horizontal">
    <div class="form-body">
        <div class="form-group">
            <admin-label asp-for="DisplayOrder" />
            <div class="col-md-9 col-sm-9">
                <admin-input asp-for="DisplayOrder" />
                <span asp-validation-for="DisplayOrder"></span>
            </div>
        </div>
        @if (Model.CanChangeEnabled)
            {
            <div class="form-group">
                <admin-label asp-for="IsEnabled" />
                <div class="col-md-9 col-sm-9">
                    <label class="mt-checkbox mt-checkbox-outline control control-checkbox">
                        <admin-input asp-for="IsEnabled" />
                         <div class="control__indicator"></div>
                    </label>
                    <span asp-validation-for="IsEnabled"></span>
                </div>
            </div>
        }
    </div>
</div>